<%@ page import="static jdk.internal.org.jline.utils.Colors.s" %><%--
  Created by IntelliJ IDEA.
  User: zyp
  Date: 2021/12/3
  Time: 19:22
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>班级删除</title>
</head>
<body>
<%
    String bc = null;
    Object deleteClassID = session.getAttribute("DeleteClassID");
    if (deleteClassID != null) {
        int s = (int) deleteClassID;
        if (s == 0) {
            bc = "无法删除，由于还有同学是挂在这个班级的。";
        } else {
            bc = null;
        }
    }

%>
<form action="theClassDeleteServlet" method="post" name="theClassDelete">
    班级代号:<input type="text" name="classID">
    <br/><input type="submit" name="confirm" value="确认">
</form>
<%=bc%>
<form action="theClassServlet" name="app" method="post">
    <input type="submit" name="theClassAdd" value="班级增加"/>
    <input type="submit" name="theClassInquire" value="班级查询"/>
    <input type="submit" name="theClassUpdate" value="班级修改"/>
    <input type="submit" name="main" value="首页"/>
</form>
</body>
</html>
